import PageTools from '@/components/PageTools'
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from '@/components/ImageUpload'
import lang from '@/components/lang'
import screenfull from '@/components/screenfull'
import ThemePicker from '@/components/ThemePicker'
export default {
  // Vue.use,会自动调用这里的install函数
  // 并且自动接受vue使用的这个参数
  // 这种当时可以减少大量的组件引入
  install(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('lang', lang)
    Vue.component('screenfull', screenfull)
    Vue.component('ThemePicker', ThemePicker)

    // console.log('组件被调用了')
  }
}
